DevOwl\RealCookieBanner\Utils B

Total Complexity 97
Dependencies 3
Dependents 21
Total lines 532
Lines of code 306
Logical lines of code 159
Comment lines 209
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
setCookie()
A
41 10 66
isPageBuilder()
A
61 10 12
isFrontend()
A
57 9 17
host()
S
54 7 20
removeNonPermalinkQueryFromUrl()
S
53 6 22
isPluginActive()
S
55 6 19
isRest()
S
57 6 15
isDownload()
S
60 5 13
posts_where_find_in_set()
S
55 4 18
currentContentTypeIs()
S
60 4 13
getIpAddress()
S
61 4 12
getActivePluginsMap()
S
61 3 12
giveHost()
S
69 3 5
getRandomWeightedElement()
S
64 3 9
endsWith()
S
68 2 7
hash()
S
65 2 8
isCLI()
S
78 2 3
isPageBuilderFrontend()
S
70 2 6
anyPluginActive()
S
72 2 4
isPreinstalledEnvironment()
S
68 2 7
flatten()
S
67 2 8
getRequestUrl()
S
69 2 6
startsWith()
S
74 1 4